body {
    max-width: 320px;
    min-width: 540px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma;
    color: #000;
    background: #f2f2f2;
    /* 不让水平方向出现滚动条 */
    overflow-x: hidden;
    -webkit-tap-highligt-color: transparent;
}

a {
    text-decoration: none;
    color: #222222;
}

ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

div {
    box-sizing: border-box;
}

/* 顶部搜索start */
.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    /* 再走自身盒子的50%就能居中了 */
    /* 考虑兼容性 */
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    height: 44px;
    max-width: 520px;
    min-width: 320px;
    background-color: #f6f6f6;
    border-bottom: 1px solid #ccc;
}

.search-index .search {
    position: relative;
    top: 0;
    left: 0;
    flex: 1;
    height: 26px;
    border: 1px solid #ccc;
    margin: 6px 9px;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    padding: 3px 0px 0px 28px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.search-index .search::before {
    position: absolute;
    top: 0px;
    left: 5px;
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
    margin: 5px;
}

.search-index .user {
    height: 44px;
    width: 44px;
    /* background-color: red; */
    text-align: center;
    color: #82d1d1;
}

.search-index .user::before {
    content: "";
    display: block;
    /* 这里的精灵图用二倍图进行缩放 */
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    /* 上2 左右auto 下0 */
    margin: 2px auto 0px;
}

/* 顶部搜索end */

/* 焦点图start */
.focus {
    margin-top: 44px;
}

.focus img {
    width: 100%;
    height: 100%;
}

/* 焦点图end */

/* 局部导航栏start */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 3px;
    border-radius: 6px;
}

.local-nav li {
    flex: 1;
}

.local-nav li a {
    display: flex;
    /* 将主轴设置为y轴，让元素竖着显示 */
    flex-direction: column;
    /* 调节侧轴居中对齐，单行用align-items */
    align-items: center;
    font-size: 12px;
}

.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    background-color: #444;
    margin-top: 6px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}

.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}

.local-nav li .local-nav-icon-icon3 {
    background-position: 0 -64px;
}

.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}

.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}

/* 局部导航栏end */


/* 导航栏start */
.nav {
    overflow: hidden;
    border-radius: 6px;
    /* background-color: #ccc; */
    margin: 3px;
}

.nav .nav-common {
    display: flex;
    height: 88px;

}

/* 背景渐变，但是必须添加私有前缀 */
.nav .nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5956, #FA984D);
}

.nav .nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B91ED, #53BBED);
}

.nav .nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #35C3A8, #6AD559);
}

.nav .nav-common .nav-common-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* -n+2代表选择前两个元素，来添加边框 */
.nav .nav-common .nav-common-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav .nav-common .nav-common-items a {
    flex: 1;
    line-height: 44px;
    /* margin: 2px; */
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .3);
}

/* 去掉第一列nav-common-items的  a 的下划线边框 */
.nav .nav-common:nth-child(1) .nav-common-items:nth-child(1) a {
    border: 0px;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav .nav-common:nth-child(2) .nav-common-items:nth-child(1) a {
    border: 0px;
    background: url(../images/plane.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav .nav-common:nth-child(3) .nav-common-items:nth-child(1) a {
    border: 0px;
    background: url(../images/places.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-common-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

/* 导航栏end */

/* 小的导航栏入口start */
.subnav-entry {
    overflow: hidden;
    display: flex;
    /* height: 100px; */
    /* background-color: #ccc; */
    border-radius: 10px;
    margin: 0 3px;
    flex-wrap: wrap;
    padding-top: 3px;
}

.subnav-entry li {
    /* 让每个子盒子占父盒子宽度的20% */
    flex: 20%;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
}

.subnav-entry li a [class^="subnav-entry-icon"] {
    width: 28px;
    height: 28px;
    /* background-color: #f13232; */
    margin-top: 4px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px auto;
}

.subnav-entry li a .subnav-entry-icon-icon2 {
    background-position: 0 -28px;
}

.subnav-entry li a .subnav-entry-icon-icon3 {
    background-position: 0 -56px;
}

.subnav-entry li a .subnav-entry-icon-icon4 {
    background-position: 0 -84px;
}

.subnav-entry li a .subnav-entry-icon-icon5 {
    background-position: 0 -84px;
}

.subnav-entry li a .subnav-entry-icon-icon6 {
    background-position: 0 -112px;
}

.subnav-entry li a .subnav-entry-icon-icon7 {
    background-position: 0 -140px;
}

.subnav-entry li a .subnav-entry-icon-icon8 {
    background-position: 0 -168px;
}

.subnav-entry li a .subnav-entry-icon-icon9 {
    background-position: 0 -196px;
}

.subnav-entry li a .subnav-entry-icon-icon10 {
    background-position: 0 -224px;
}

/* 小的导航栏入口end */

/* 销售模块start */
.sales-box {
    border-top: 1px solid #ccc;
    background-color: #fff;
    margin: 3px;
}

.sales-box .sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #dbdbdb;
}

.sales-box .sales-hd h2 {
    position: relative;
    text-indent: -11111px;
    overflow: hidden;
}

.sales-box .sales-hd h2::after {
    position: absolute;
    top: 8px;
    left: 16px;
    content: "";
    display: block;
    width: 75px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}

.sales-box .sales-hd a {
    position: absolute;
    right: 5px;
    top: 0px;
    background: -webkit-linear-gradient(left, #ff506c, #ff6bc6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
}

/* 更多的小三角 */
.sales-box .sales-hd a::after {
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}

.sales-box .sales-bd .row {
    display: flex;
}

.sales-box .sales-bd .row a {
    border-bottom: 1px solid #eee;
    flex: 1;
}

.sales-box .sales-bd .row a:nth-child(1) {
    border-right: 1px solid #eee;
}

.sales-box .sales-bd .row a img {
    width: 100%;
}

/* 销售模块end */
.footer ul {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    border-top: 1px solid #dbdbdb;
    margin: 3px;
}

/* footer模块start */
.footer li {
    flex: 1;
    /* height: 50px; */
    background-color: rgb(255, 255, 255);
}

.footer li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555151;
}

.footer li a .footer-icon {
    width: 24px;
    height: 24px;
    /* background-color: #582f2f; */
    margin-top: 4px;
    background: url(../images/sprite.png) no-repeat -59px -145px;
    background-size: 104px auto;
}

.footer li:nth-child(2) a .footer-icon {
    background-position: -59px -170px;
}

.footer li:nth-child(3) a .footer-icon {
    background-position: -59px -192px;
}

/* footer模块end */

/* 底部链接start */
.bottom-link {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    margin-top: 8px;
}

.bottom-link .top a {
    padding-right: 15px;
    color: #555454;
}

.bottom-link .top a:nth-child(2) {
    border-left: 1px solid #c7c7c7;
    padding-left: 15px;
}

.bottom-link .top a:nth-child(2)::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1px solid #a3a2a2;
    border-bottom: 1px solid #a3a2a2;
    transform: rotate(45deg);
    margin-left: 5px;
}

.bottom-link .top a:nth-child(3) {
    border-left: 1px solid #af99af;
    padding-left: 15px;
}

.bottom-link .bottom a {
    color: #555454;
}

.bottom-link .bottom a:nth-child(1) {
    border-right: 1px solid #c7c7c7;
    padding-right: 5px;
}

/* 底部链接end */